/**
 * Project Name:MVC
 * File Name:IEmployeesServiceImpl.java
 * Package Name:cn.com.tupperware.service.impl
 * Date:Nov 1, 20164:54:39 PM
 * Copyright (c) 2016, chenzhou1025@126.com All Rights Reserved.
 *
*/

package cn.com.tupperware.service.impl;

import org.springframework.beans.factory.annotation.Autowired;

import cn.com.tupperware.dao.CustomersMapper;
import cn.com.tupperware.dao.EmployeesMapper;
import cn.com.tupperware.entity.Employees;
import cn.com.tupperware.entity.EmployeesWithBLOBs;
import cn.com.tupperware.service.IEmployeesService;

/**
 * ClassName:IEmployeesServiceImpl <br/>
 * Function: TODO ADD FUNCTION. <br/>
 * Reason: TODO ADD REASON. <br/>
 * Date: Nov 1, 2016 4:54:39 PM <br/>
 * 
 * @author upw023
 * @version
 * @since JDK 1.6
 * @see
 */
public class IEmployeesServiceImpl implements IEmployeesService {
	@Autowired
	private EmployeesMapper mapper;

	/**
	 * TODO 简单描述该方法的实现功能（可选）.
	 * 
	 * @see cn.com.tupperware.service.IEmployeesService#deleteByPrimaryKey(java.lang.Integer)
	 */
	public int deleteByPrimaryKey(Integer employeeid) {
		mapper.deleteByPrimaryKey(employeeid);
		// TODO Auto-generated method stub
		return 0;
	}

	/**
	 * TODO 简单描述该方法的实现功能（可选）.
	 * 
	 * @see cn.com.tupperware.service.IEmployeesService#insert(cn.com.tupperware.entity.EmployeesWithBLOBs)
	 */
	public int insert(EmployeesWithBLOBs record) {
		mapper.insert(record);
		// TODO Auto-generated method stub
		return 0;
	}

	/**
	 * TODO 简单描述该方法的实现功能（可选）.
	 * 
	 * @see cn.com.tupperware.service.IEmployeesService#insertSelective(cn.com.tupperware.entity.EmployeesWithBLOBs)
	 */
	public int insertSelective(EmployeesWithBLOBs record) {
		mapper.insertSelective(record);
		// TODO Auto-generated method stub
		return 0;
	}

	/**
	 * TODO 简单描述该方法的实现功能（可选）.
	 * 
	 * @see cn.com.tupperware.service.IEmployeesService#selectByPrimaryKey(java.lang.Integer)
	 */
	public EmployeesWithBLOBs selectByPrimaryKey(Integer employeeid) {
		return mapper.selectByPrimaryKey(employeeid);
		// TODO Auto-generated method stub

	}

	/**
	 * TODO 简单描述该方法的实现功能（可选）.
	 * 
	 * @see cn.com.tupperware.service.IEmployeesService#updateByPrimaryKeySelective(cn.com.tupperware.entity.EmployeesWithBLOBs)
	 */
	public int updateByPrimaryKeySelective(EmployeesWithBLOBs record) {
		mapper.updateByPrimaryKeySelective(record);
		// TODO Auto-generated method stub
		return 0;
	}

	/**
	 * TODO 简单描述该方法的实现功能（可选）.
	 * 
	 * @see cn.com.tupperware.service.IEmployeesService#updateByPrimaryKeyWithBLOBs(cn.com.tupperware.entity.EmployeesWithBLOBs)
	 */
	public int updateByPrimaryKeyWithBLOBs(EmployeesWithBLOBs record) {
		mapper.updateByPrimaryKeyWithBLOBs(record);
		// TODO Auto-generated method stub
		return 0;
	}

	/**
	 * TODO 简单描述该方法的实现功能（可选）.
	 * 
	 * @see cn.com.tupperware.service.IEmployeesService#updateByPrimaryKey(cn.com.tupperware.entity.Employees)
	 */
	public int updateByPrimaryKey(Employees record) {
		mapper.updateByPrimaryKey(record);
		// TODO Auto-generated method stub
		return 0;
	}

}
